import request from '@/utils/request'


export default{
    supplierList(page, size, searchMap) {
        return request({
            url: `manage/goods/vendor/index?page=${page}&size=${size}`,
            method: 'post',
            data: searchMap
        })
    },
    saveSupplier(data) {
        return request({
            url: `manage/goods/vendor/save`,
            method: 'post',
            data: data
        })
    },
}
